Fix zap
regression introduced in 6500fa1; ref #21583
#21607
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes an issue with 6500fa1, in which the (internal) installer API was refactored in preparation for the big change. That refactoring missed one case, causing
zap
to break; see #21583.@caskroom/maintainers This is a one-line fix but please have a look nonetheless. Thanks!
Caveats:
zap
command seems to have test coverage issues. We do have acli/zap_test
case but its main path is commented out. When I uncomment that test, it keeps failing and I can’t figure out why. Shall I open an issue for this on its own?13966 has exposed a few more (unrelated) issues with
uninstall
andzap
in edge cases when the user has insufficient permissions. This is easily fixable (using methods from 9664b9f); I am preparing a PR right now.